#include "PCH.h"
#include "EngineException.h"

std::ofstream EngineException::m_file("log.txt");

EngineException::EngineException( const std::string &err ) : m_error(err)
{
	m_file << "Exception: " << err << std::endl;
}

const char* EngineException::what()
{
	return m_error.c_str();
}


